
"""定义users模块的urls"""

from django.conf.urls import url
from django.contrib.auth.views import login
from .import views

urlpatterns=[
    url(r"^login/$",login,{'template_name': 'login.html'},name="login"),
    url(r"^logout/$",views.logout_view,name="logout_view"),
    url(r"^register/$",views.register,name="register"),
]  